GUI Help > Special > setTrackbarPosition

setTrackbarPosition
setTrackbarPosition handle gadget, int position

Description:
Sets the position of the trackbar's slider. Where the slider physically appears depends on the position compared to the range you set for the trackbar. If you set a range of -200 to 200, a position of 0 will make the slider appear in the middle of the trackbar.

Return Value:


Parameters:
gadget Handle of a trackbar gadget
position The new position of the trackbar's slider.
Remarks:


See Also:


Example:
(Note: You will need to include the GUI constants file for this example to work)